Optimal. Leaf size=72 \[ -\frac {2 a^3 (a+b x)^{3/2}}{3 b^4}+\frac {6 a^2 (a+b x)^{5/2}}{5 b^4}-\frac {6 a (a+b x)^{7/2}}{7 b^4}+\frac {2 (a+b x)^{9/2}}{9 b^4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 72, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {45}
\begin {gather*} -\frac {2 a^3 (a+b x)^{3/2}}{3 b^4}+\frac {6 a^2 (a+b x)^{5/2}}{5 b^4}+\frac {2 (a+b x)^{9/2}}{9 b^4}-\frac {6 a (a+b x)^{7/2}}{7 b^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rubi steps
\begin {align*} \int x^3 \sqrt {a+b x} \, dx &=\int \left (-\frac {a^3 \sqrt {a+b x}}{b^3}+\frac {3 a^2 (a+b x)^{3/2}}{b^3}-\frac {3 a (a+b x)^{5/2}}{b^3}+\frac {(a+b x)^{7/2}}{b^3}\right ) \, dx\\ &=-\frac {2 a^3 (a+b x)^{3/2}}{3 b^4}+\frac {6 a^2 (a+b x)^{5/2}}{5 b^4}-\frac {6 a (a+b x)^{7/2}}{7 b^4}+\frac {2 (a+b x)^{9/2}}{9 b^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 46, normalized size = 0.64 \begin {gather*} \frac {2 (a+b x)^{3/2} \left (-16 a^3+24 a^2 b x-30 a b^2 x^2+35 b^3 x^3\right )}{315 b^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.10, size = 50, normalized size = 0.69
method | result | size |
gosper | \(-\frac {2 \left (b x +a \right )^{\frac {3}{2}} \left (-35 b^{3} x^{3}+30 a \,b^{2} x^{2}-24 a^{2} b x +16 a^{3}\right )}{315 b^{4}}\) | \(43\) |
derivativedivides | \(\frac {\frac {2 \left (b x +a \right )^{\frac {9}{2}}}{9}-\frac {6 a \left (b x +a \right )^{\frac {7}{2}}}{7}+\frac {6 a^{2} \left (b x +a \right )^{\frac {5}{2}}}{5}-\frac {2 a^{3} \left (b x +a \right )^{\frac {3}{2}}}{3}}{b^{4}}\) | \(50\) |
default | \(\frac {\frac {2 \left (b x +a \right )^{\frac {9}{2}}}{9}-\frac {6 a \left (b x +a \right )^{\frac {7}{2}}}{7}+\frac {6 a^{2} \left (b x +a \right )^{\frac {5}{2}}}{5}-\frac {2 a^{3} \left (b x +a \right )^{\frac {3}{2}}}{3}}{b^{4}}\) | \(50\) |
trager | \(-\frac {2 \left (-35 b^{4} x^{4}-5 a \,b^{3} x^{3}+6 a^{2} b^{2} x^{2}-8 a^{3} b x +16 a^{4}\right ) \sqrt {b x +a}}{315 b^{4}}\) | \(54\) |
risch | \(-\frac {2 \left (-35 b^{4} x^{4}-5 a \,b^{3} x^{3}+6 a^{2} b^{2} x^{2}-8 a^{3} b x +16 a^{4}\right ) \sqrt {b x +a}}{315 b^{4}}\) | \(54\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 56, normalized size = 0.78 \begin {gather*} \frac {2 \, {\left (b x + a\right )}^{\frac {9}{2}}}{9 \, b^{4}} - \frac {6 \, {\left (b x + a\right )}^{\frac {7}{2}} a}{7 \, b^{4}} + \frac {6 \, {\left (b x + a\right )}^{\frac {5}{2}} a^{2}}{5 \, b^{4}} - \frac {2 \, {\left (b x + a\right )}^{\frac {3}{2}} a^{3}}{3 \, b^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 53, normalized size = 0.74 \begin {gather*} \frac {2 \, {\left (35 \, b^{4} x^{4} + 5 \, a b^{3} x^{3} - 6 \, a^{2} b^{2} x^{2} + 8 \, a^{3} b x - 16 \, a^{4}\right )} \sqrt {b x + a}}{315 \, b^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 1742 vs.
\(2 (68) = 136\).
time = 1.19, size = 1742, normalized size = 24.19 \begin {gather*} - \frac {32 a^{\frac {49}{2}} \sqrt {1 + \frac {b x}{a}}}{315 a^{20} b^{4} + 1890 a^{19} b^{5} x + 4725 a^{18} b^{6} x^{2} + 6300 a^{17} b^{7} x^{3} + 4725 a^{16} b^{8} x^{4} + 1890 a^{15} b^{9} x^{5} + 315 a^{14} b^{10} x^{6}} + \frac {32 a^{\frac {49}{2}}}{315 a^{20} b^{4} + 1890 a^{19} b^{5} x + 4725 a^{18} b^{6} x^{2} + 6300 a^{17} b^{7} x^{3} + 4725 a^{16} b^{8} x^{4} + 1890 a^{15} b^{9} x^{5} + 315 a^{14} b^{10} x^{6}} - \frac {176 a^{\frac {47}{2}} b x \sqrt {1 + \frac {b x}{a}}}{315 a^{20} b^{4} + 1890 a^{19} b^{5} x + 4725 a^{18} b^{6} x^{2} + 6300 a^{17} b^{7} x^{3} + 4725 a^{16} b^{8} x^{4} + 1890 a^{15} b^{9} x^{5} + 315 a^{14} b^{10} x^{6}} + \frac {192 a^{\frac {47}{2}} b x}{315 a^{20} b^{4} + 1890 a^{19} b^{5} x + 4725 a^{18} b^{6} x^{2} + 6300 a^{17} b^{7} x^{3} + 4725 a^{16} b^{8} x^{4} + 1890 a^{15} b^{9} x^{5} + 315 a^{14} b^{10} x^{6}} - \frac {396 a^{\frac {45}{2}} b^{2} x^{2} \sqrt {1 + \frac {b x}{a}}}{315 a^{20} b^{4} + 1890 a^{19} b^{5} x + 4725 a^{18} b^{6} x^{2} + 6300 a^{17} b^{7} x^{3} + 4725 a^{16} b^{8} x^{4} + 1890 a^{15} b^{9} x^{5} + 315 a^{14} b^{10} x^{6}} + \frac {480 a^{\frac {45}{2}} b^{2} x^{2}}{315 a^{20} b^{4} + 1890 a^{19} b^{5} x + 4725 a^{18} b^{6} x^{2} + 6300 a^{17} b^{7} x^{3} + 4725 a^{16} b^{8} x^{4} + 1890 a^{15} b^{9} x^{5} + 315 a^{14} b^{10} x^{6}} - \frac {462 a^{\frac {43}{2}} b^{3} x^{3} \sqrt {1 + \frac {b x}{a}}}{315 a^{20} b^{4} + 1890 a^{19} b^{5} x + 4725 a^{18} b^{6} x^{2} + 6300 a^{17} b^{7} x^{3} + 4725 a^{16} b^{8} x^{4} + 1890 a^{15} b^{9} x^{5} + 315 a^{14} b^{10} x^{6}} + \frac {640 a^{\frac {43}{2}} b^{3} x^{3}}{315 a^{20} b^{4} + 1890 a^{19} b^{5} x + 4725 a^{18} b^{6} x^{2} + 6300 a^{17} b^{7} x^{3} + 4725 a^{16} b^{8} x^{4} + 1890 a^{15} b^{9} x^{5} + 315 a^{14} b^{10} x^{6}} - \frac {210 a^{\frac {41}{2}} b^{4} x^{4} \sqrt {1 + \frac {b x}{a}}}{315 a^{20} b^{4} + 1890 a^{19} b^{5} x + 4725 a^{18} b^{6} x^{2} + 6300 a^{17} b^{7} x^{3} + 4725 a^{16} b^{8} x^{4} + 1890 a^{15} b^{9} x^{5} + 315 a^{14} b^{10} x^{6}} + \frac {480 a^{\frac {41}{2}} b^{4} x^{4}}{315 a^{20} b^{4} + 1890 a^{19} b^{5} x + 4725 a^{18} b^{6} x^{2} + 6300 a^{17} b^{7} x^{3} + 4725 a^{16} b^{8} x^{4} + 1890 a^{15} b^{9} x^{5} + 315 a^{14} b^{10} x^{6}} + \frac {378 a^{\frac {39}{2}} b^{5} x^{5} \sqrt {1 + \frac {b x}{a}}}{315 a^{20} b^{4} + 1890 a^{19} b^{5} x + 4725 a^{18} b^{6} x^{2} + 6300 a^{17} b^{7} x^{3} + 4725 a^{16} b^{8} x^{4} + 1890 a^{15} b^{9} x^{5} + 315 a^{14} b^{10} x^{6}} + \frac {192 a^{\frac {39}{2}} b^{5} x^{5}}{315 a^{20} b^{4} + 1890 a^{19} b^{5} x + 4725 a^{18} b^{6} x^{2} + 6300 a^{17} b^{7} x^{3} + 4725 a^{16} b^{8} x^{4} + 1890 a^{15} b^{9} x^{5} + 315 a^{14} b^{10} x^{6}} + \frac {1134 a^{\frac {37}{2}} b^{6} x^{6} \sqrt {1 + \frac {b x}{a}}}{315 a^{20} b^{4} + 1890 a^{19} b^{5} x + 4725 a^{18} b^{6} x^{2} + 6300 a^{17} b^{7} x^{3} + 4725 a^{16} b^{8} x^{4} + 1890 a^{15} b^{9} x^{5} + 315 a^{14} b^{10} x^{6}} + \frac {32 a^{\frac {37}{2}} b^{6} x^{6}}{315 a^{20} b^{4} + 1890 a^{19} b^{5} x + 4725 a^{18} b^{6} x^{2} + 6300 a^{17} b^{7} x^{3} + 4725 a^{16} b^{8} x^{4} + 1890 a^{15} b^{9} x^{5} + 315 a^{14} b^{10} x^{6}} + \frac {1494 a^{\frac {35}{2}} b^{7} x^{7} \sqrt {1 + \frac {b x}{a}}}{315 a^{20} b^{4} + 1890 a^{19} b^{5} x + 4725 a^{18} b^{6} x^{2} + 6300 a^{17} b^{7} x^{3} + 4725 a^{16} b^{8} x^{4} + 1890 a^{15} b^{9} x^{5} + 315 a^{14} b^{10} x^{6}} + \frac {1098 a^{\frac {33}{2}} b^{8} x^{8} \sqrt {1 + \frac {b x}{a}}}{315 a^{20} b^{4} + 1890 a^{19} b^{5} x + 4725 a^{18} b^{6} x^{2} + 6300 a^{17} b^{7} x^{3} + 4725 a^{16} b^{8} x^{4} + 1890 a^{15} b^{9} x^{5} + 315 a^{14} b^{10} x^{6}} + \frac {430 a^{\frac {31}{2}} b^{9} x^{9} \sqrt {1 + \frac {b x}{a}}}{315 a^{20} b^{4} + 1890 a^{19} b^{5} x + 4725 a^{18} b^{6} x^{2} + 6300 a^{17} b^{7} x^{3} + 4725 a^{16} b^{8} x^{4} + 1890 a^{15} b^{9} x^{5} + 315 a^{14} b^{10} x^{6}} + \frac {70 a^{\frac {29}{2}} b^{10} x^{10} \sqrt {1 + \frac {b x}{a}}}{315 a^{20} b^{4} + 1890 a^{19} b^{5} x + 4725 a^{18} b^{6} x^{2} + 6300 a^{17} b^{7} x^{3} + 4725 a^{16} b^{8} x^{4} + 1890 a^{15} b^{9} x^{5} + 315 a^{14} b^{10} x^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 116 vs.
\(2 (56) = 112\).
time = 1.05, size = 116, normalized size = 1.61 \begin {gather*} \frac {2 \, {\left (\frac {9 \, {\left (5 \, {\left (b x + a\right )}^{\frac {7}{2}} - 21 \, {\left (b x + a\right )}^{\frac {5}{2}} a + 35 \, {\left (b x + a\right )}^{\frac {3}{2}} a^{2} - 35 \, \sqrt {b x + a} a^{3}\right )} a}{b^{3}} + \frac {35 \, {\left (b x + a\right )}^{\frac {9}{2}} - 180 \, {\left (b x + a\right )}^{\frac {7}{2}} a + 378 \, {\left (b x + a\right )}^{\frac {5}{2}} a^{2} - 420 \, {\left (b x + a\right )}^{\frac {3}{2}} a^{3} + 315 \, \sqrt {b x + a} a^{4}}{b^{3}}\right )}}{315 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.05, size = 56, normalized size = 0.78 \begin {gather*} \frac {2\,{\left (a+b\,x\right )}^{9/2}}{9\,b^4}-\frac {2\,a^3\,{\left (a+b\,x\right )}^{3/2}}{3\,b^4}+\frac {6\,a^2\,{\left (a+b\,x\right )}^{5/2}}{5\,b^4}-\frac {6\,a\,{\left (a+b\,x\right )}^{7/2}}{7\,b^4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________